package com.ky.course.service;

import com.ky.common.param.OrderAdd;
import com.ky.common.vo.R;
import com.ky.user.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author zpa
 * @since 2024-06-20
 */
public interface OrdersService extends IService<Orders> {

    R findAllOrders();

    R createOrder(String token, OrderAdd orderAdd);


    R findAllOrderByType(Integer status);
}
